package com.industrial.premu.domain.sqsj;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.industrial.common.core.annotation.Excel;
import com.industrial.common.core.web.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import java.util.Date;

/**
 * 涉企数据导入记录对象 pre_mu_import_log
 *
 * @author SangGuangCan
 * @date 2024-01-24
 */
public class PreMuImportLog extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 用户ID */
    private String id;

    /** 年度 */
    @Excel(name = "年度")
    private String year;

    /** 省(统计用区划代码前6位) */
    private String province;

    /** 市(统计用区划代码前6位) */
    private String city;

    /** 区县(统计用区划代码前6位) */
    private String county;

    /** 部门编码 */
    @Excel(name = "部门编码")
    private String deptCode;

    /** 上报时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "上报时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date uploadDate;

    /** 创建时间 */
    private Date createDate;

    /** 更新时间 */
    private Date updateDate;

    /** 备注 */
    private String remarks;

    /** 删除标记 */
    private String delFlag;

    /** 总数 */
    @Excel(name = "总数")
    private Long deptCodeSum;

    private String companyType;

    public String getCompanyType() {
        return companyType;
    }

    public void setCompanyType(String companyType) {
        this.companyType = companyType;
    }

    public void setId(String id)
    {
        this.id = id;
    }

    public String getId()
    {
        return id;
    }
    public void setYear(String year)
    {
        this.year = year;
    }

    public String getYear()
    {
        return year;
    }
    public void setProvince(String province)
    {
        this.province = province;
    }

    public String getProvince()
    {
        return province;
    }
    public void setCity(String city)
    {
        this.city = city;
    }

    public String getCity()
    {
        return city;
    }
    public void setCounty(String county)
    {
        this.county = county;
    }

    public String getCounty()
    {
        return county;
    }
    public void setDeptCode(String deptCode)
    {
        this.deptCode = deptCode;
    }

    public String getDeptCode()
    {
        return deptCode;
    }
    public void setUploadDate(Date uploadDate)
    {
        this.uploadDate = uploadDate;
    }

    public Date getUploadDate()
    {
        return uploadDate;
    }
    public void setCreateDate(Date createDate)
    {
        this.createDate = createDate;
    }

    public Date getCreateDate()
    {
        return createDate;
    }
    public void setUpdateDate(Date updateDate)
    {
        this.updateDate = updateDate;
    }

    public Date getUpdateDate()
    {
        return updateDate;
    }
    public void setRemarks(String remarks)
    {
        this.remarks = remarks;
    }

    public String getRemarks()
    {
        return remarks;
    }
    public void setDelFlag(String delFlag)
    {
        this.delFlag = delFlag;
    }

    public String getDelFlag()
    {
        return delFlag;
    }
    public void setDeptCodeSum(Long deptCodeSum)
    {
        this.deptCodeSum = deptCodeSum;
    }

    public Long getDeptCodeSum()
    {
        return deptCodeSum;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
                .append("id", getId())
                .append("year", getYear())
                .append("province", getProvince())
                .append("city", getCity())
                .append("county", getCounty())
                .append("deptCode", getDeptCode())
                .append("uploadDate", getUploadDate())
                .append("createBy", getCreateBy())
                .append("createDate", getCreateDate())
                .append("updateBy", getUpdateBy())
                .append("updateDate", getUpdateDate())
                .append("remarks", getRemarks())
                .append("delFlag", getDelFlag())
                .append("deptCodeSum", getDeptCodeSum())
                .toString();
    }
}
